//
//  ChildViewCell04.m
//  PosApp
//
//  Created by 刘萍 on 2018/9/13.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import "ChildViewCell04.h"



@implementation ChildViewCell04

- (void)setModel:(ChildModel04 *)model{
    self.POSSN.text = [NSString stringWithFormat:@"%@",model.order_no];
    [self.PosImage sd_setImageWithURL:[NSURL URLWithString:model.pos_pic] placeholderImage:[UIImage imageNamed:@"MainZWImage"]];
    self.PosName.text = [NSString stringWithFormat:@"%@",model.pos_name];
    NSString * str = @"%";
    self.PosLabel.text = [NSString stringWithFormat:@"扣率%@%@，次日返%@%@",model.pos_rate,str,model.pos_rrate,str];
    self.PosPrice.text = [NSString stringWithFormat:@"￥%@",model.order_money];
    self.PosNumb.text = [NSString stringWithFormat:@"x%@",model.order_number];
    self.PosType.text = [NSString stringWithFormat:@"%@",model.order_status];
    
    
}
- (void)CreateChildViewCell04{
    
    self.CellBtn.layer.borderWidth = 1;
    self.CellBtn.layer.borderColor = [UIColor colorWithRed:251/255.0 green:40/255.0 blue:68/255.0 alpha:1].CGColor;
    self.CellBtn.layer.cornerRadius = 4;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
